示例#1
0
 public async Task <ActionResult> CreateVideoWithExistingAnimal(IFormFile video, long animalId)
 {
     try
     {
         await _videoService.CreateVideoWithExistingAnimal(video, animalId);
     }
     catch (Exception ex)
     {
         return(BadRequest(ex.Message));
     }
     return(Ok());
 }