public IActionResult Delete(int id) { var entity = _activityLogService.GetById(id); _activityLogService.Delete(entity); return(NoContent()); }