public async Task <IActionResult> DeleteSubject(int id) { await _service.DeleteEntity(id); return(NoContent()); }