Exemplo n.º 1
0
        public bool UpdateEmployee(Entities.Concrete.Employee.Employee prmEmployee)
        {
            IEmployeeBusiness employeeBusiness = FactoryBusiness.CreateEmployeeBusiness();

            return(employeeBusiness.UpdateEmployee(prmEmployee));
        }
Exemplo n.º 2
0
        public bool ValidateEmployee(long prmCompanyID, string prmUserName, bool prmIsUpdated)
        {
            IEmployeeBusiness employeeBusiness = FactoryBusiness.CreateEmployeeBusiness();

            return(employeeBusiness.ValidateEmployee(prmCompanyID, prmUserName, prmIsUpdated));
        }
Exemplo n.º 3
0
        public List <Entities.Concrete.Employee.Employee> GetAllEmployees()
        {
            IEmployeeBusiness employeeBusiness = FactoryBusiness.CreateEmployeeBusiness();

            return(employeeBusiness.GetAllEmployees());
        }
Exemplo n.º 4
0
        public Entities.Concrete.Employee.Employee GetEmployeeByCompanyID(long prmCompanyID)
        {
            IEmployeeBusiness employeeBusiness = FactoryBusiness.CreateEmployeeBusiness();

            return(employeeBusiness.GetEmployeeByCompanyID(prmCompanyID));
        }
Exemplo n.º 5
0
        public bool DeleteEmployee(long prmCompanyID)
        {
            IEmployeeBusiness employeeBusiness = FactoryBusiness.CreateEmployeeBusiness();

            return(employeeBusiness.DeleteEmployee(prmCompanyID));
        }