Example #1
0
 public async Task <ActionResult> Update([FromBody] ServiceRequest request)
 {
     if (!await _servRepo.Contains(request))
     {
         await _servRepo.UpdateServiceRequestAsync(request);
     }
     return(Ok());
 }