예제 #1
0
 [HttpDelete("deleteall")] //ONLY FOR DEVELOPMENT!
 public async Task <IActionResult> DeleteAll()
 {
     if (await _repository.DeleteAllAsync())
     {
         return(Ok());
     }
     return(BadRequest());
 }