public IActionResult DeleteConfirmed(int id)
        {
            var companyType = companyTypesRepository.Get(id);

            companyTypesRepository.Delete(id);
            return(RedirectToAction("Index"));
        }
Esempio n. 2
0
 public bool Delete(int CompanyTypeId)
 {
     return(repository.Delete(CompanyTypeId));
 }