Пример #1
0
 public IActionResult AddPlayList(AddPlayListRequest data)
 {
     var result = (repository.AddPlayList(data));
     {
         if (result)
         {
             return(Ok(new { message = "Successfully Added" }));
         }
         return(Unauthorized("Authorization failed"));
     }
 }