public EmployeeTypeController(IEmployeeTypeRepository repository, string catalog, LoginView view) { this._LoginId = view.LoginId.ToLong(); this._UserId = view.UserId.ToInt(); this._OfficeId = view.OfficeId.ToInt(); this._Catalog = catalog; this.EmployeeTypeRepository = repository; }
public EmployeeTypeController() { this._LoginId = AppUsers.GetCurrent().View.LoginId.ToLong(); this._UserId = AppUsers.GetCurrent().View.UserId.ToInt(); this._OfficeId = AppUsers.GetCurrent().View.OfficeId.ToInt(); this._Catalog = AppUsers.GetCurrentUserDB(); this.EmployeeTypeRepository = new MixERP.Net.Core.Modules.HRM.Data.EmployeeType { _Catalog = this._Catalog, _LoginId = this._LoginId, _UserId = this._UserId }; }
/// <summary> /// Method whose purpose is to set /// _employeeTypeRepository variable. /// </summary> /// <param name="employeeTypeRepository"> /// Existing IEmployeeTypeRepository object. /// </param> public EmployeeTypeLogic(IEmployeeTypeRepository employeeTypeRepository) { _employeeTypeRepository = employeeTypeRepository; }
public EmployeeTypeManager(IEmployeeTypeRepository repository) : base(repository) { this._employeeTypeRepository = repository; }
/// <summary> /// /// </summary> /// <param name="employeeRepository"></param> /// <param name="employeeTypeRepository"></param> public EmployeeController(IEmployeeRepository employeeRepository, IEmployeeTypeRepository employeeTypeRepository) { this.employeeRepository = employeeRepository; this.employeeTypeRepository = employeeTypeRepository; }
public EmployeeService(IEmployeeRepository employeeRepository, IEmployeeTypeRepository employeeTypeRepository, IUnitOfWork unitOfWork) { this.employeeRepository = employeeRepository; this.unitOfWork = unitOfWork; this.employeeTypeRepository = employeeTypeRepository; }
public CustomerKeysService(ICustomerKeysRepository customerKeysRepository, IEmployeeTypeRepository employeeTypeRepository, IUnitOfWork unitOfWork) { this.customerKeysRepository = customerKeysRepository; this.unitOfWork = unitOfWork; this.employeeTypeRepository = employeeTypeRepository; }
/// <summary> /// this is the default constructor for the Skill service /// </summary> /// <param name="skillRepository">skillRepository interface object for dependency injection</param> public EmployeeTypeService(IEmployeeTypeRepository employeeTypeRepository, IMapper mapper) { _employeeTypeRepository = employeeTypeRepository; _mapper = mapper; }