Exemplo n.º 1
0
 public async Task <ActionResult> Create([FromBody] ServiceRequest request)
 {
     if (!await _servRepo.Contains(request))
     {
         await _servRepo.AddServiceRequestAsync(request);
     }
     return(Ok());
 }