Example #1
0
 public IActionResult Delete(Guid id)
 {
     return(ApiAction(() =>
     {
         _dummyService.Delete(id);
         return Accepted();
     }));
 }
Example #2
0
        public async Task <IActionResult> Delete(string id)
        {
            await _dummyService.Delete(id);

            return(Ok());
        }