public IHttpActionResult InsertVideo(VideoFromService video) { var result = _videosService.AddVideo(video); if (result != 0) { return(Ok(result)); } return(BadRequest()); }
public IHttpActionResult InsertVideo(VideoFromService video) { var result = _videosService.AddVideo(video); if (result != 0) { return(Ok(result)); } return(BadRequest()); }