public ProductsBusiness(IUnitOfWork unitOfWork, IDepartmentsBusiness DepartmentsBusiness, IStringLocalizer <SharedResources> localizer) { UnitOfWork = unitOfWork; departmentsBusiness = DepartmentsBusiness; Localizer = localizer; Errors = new List <string>(); }
public DepartmentsController( IDepartmentsBusiness departmentsBusiness) { DepartmentsBusiness = departmentsBusiness; }