public async Task <IActionResult> Delete(int id) { await _tagsServices.Delete(id); var response = new GenericResponse <bool>(true); return(Ok(response)); }
public async Task <ActionResult> Delete(long id) { #region Start the watch var watch = new Stopwatch(); watch.Start(); #endregion var result = await _entityServices.Delete(id); #region End the watch watch.Stop(); result.Meta.TotalProcessingTime = watch.ElapsedMilliseconds; #endregion return(Ok(result)); }