Light12306/ChatRoomServer.Www/Areas/Api/Controllers/UsersController.cs
2015-07-03 21:04:37 +08:00

21 lines
402 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace ChatRoomServer.Www.Areas.Api.Controllers
{
[RoutePrefix("api/users")]
public class UsersController : ApiController
{
[Route("report/{username}/{msgid:int}")]
public bool ReportAbuse(string username, long msgid)
{
return true;
}
}
}