Ejemplo n.º 1
0
        public IActionResult DeleteFinancialYear(long id)
        {
            FinancialYear fin = fin_repo.Find(id);

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

            fin_repo.Delete(fin);
            return(Ok());
        }
Ejemplo n.º 2
0
 public void Delete(FinancialYear entity)
 {
     _repository.Delete(entity);
 }