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