Exemple #1
0
        public bool UpdateEmployee(Entities.Concrete.Employee.Employee prmEmployee)
        {
            IEmployeeBusiness employeeBusiness = FactoryBusiness.CreateEmployeeBusiness();

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

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

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

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

            return(employeeBusiness.DeleteEmployee(prmCompanyID));
        }