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)); }
// PUT api/projects/{id}/video/hash public HttpResponseMessage Put(string id, ProjectVideoHashModel model) { return(Request.CreateErrorResponse(HttpStatusCode.BadRequest, ResponseMessages.BadRequest)); }