Пример #1
0
        public IActionResult DeleteFinancialYear(long id)
        {
            FinancialYear fin = fin_repo.Find(id);

            if (fin == null)
            {
                return(NotFound());
            }

            fin_repo.Delete(fin);
            return(Ok());
        }
Пример #2
0
 public void Delete(FinancialYear entity)
 {
     _repository.Delete(entity);
 }