You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
21 lines
511 B
C#
21 lines
511 B
C#
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
|
|
|
|
using System.Collections.Generic;
|
|
using System.Web.Http;
|
|
using MetadataServer.Connectors;
|
|
using MetadataServer.Models;
|
|
|
|
namespace MetadataServer.Controllers
|
|
{
|
|
public class CommentController : ApiController
|
|
{
|
|
public List<CommentData> Get(string Project, long LastCommentId)
|
|
{
|
|
return SqlConnector.GetComments(Project, LastCommentId);
|
|
}
|
|
public void Post([FromBody] CommentData Comment)
|
|
{
|
|
SqlConnector.PostComment(Comment);
|
|
}
|
|
}
|
|
} |