C# Class Teleimot.Web.Api.Controllers.CommentsController

Inheritance: ApiController
显示文件 Open project: TelerikAcademy/Web-Services-and-Cloud

Public Methods

Method Description
CommentsController ( ICommentsService comments ) : System.ComponentModel.DataAnnotations

Private Methods

Method Description
ByUser ( [ id, int skip = CommentConstants.DefaultCommentSkip, int take = CommentConstants.DefaultCommentTake ) : IHttpActionResult
Get ( int id, int skip = CommentConstants.DefaultCommentSkip, int take = CommentConstants.DefaultCommentTake ) : IHttpActionResult
Post ( CommentRequestModel model ) : IHttpActionResult

Method Details

CommentsController() public method

public CommentsController ( ICommentsService comments ) : System.ComponentModel.DataAnnotations
comments ICommentsService
return System.ComponentModel.DataAnnotations