コード例 #1
0
ファイル: HashController.cs プロジェクト: GusLab/video-portal
        public async Task<HttpResponseMessage> Post(string id, ProjectVideoHashModel model)
        {
            // Check whether project with such id exists
            await GetProjectAsync(id);

            return Request.CreateErrorResponse(HttpStatusCode.NotFound, ResponseMessages.ResourceNotFound);
        }
コード例 #2
0
ファイル: HashController.cs プロジェクト: GusLab/video-portal
 // PUT api/projects/{id}/video/hash
 public HttpResponseMessage Put(string id, ProjectVideoHashModel model)
 {
     return Request.CreateErrorResponse(HttpStatusCode.BadRequest, ResponseMessages.BadRequest);
 }