public IActionResult DeleteFinancialYear(long id) { FinancialYear fin = fin_repo.Find(id); if (fin == null) { return(NotFound()); } fin_repo.Delete(fin); return(Ok()); }
public void Delete(FinancialYear entity) { _repository.Delete(entity); }