Пример #1
0
 public async Task <IActionResult> Post([FromBody] PlayListDto item)
 {
     try
     {
         return(Ok(await _repo.CreatAsync(item)));
     }
     catch (Exception ex)
     {
         return(StatusCode(500, ex));
     }
 }