private EmployeeCategoryDTO MakeEmployeeCategoryDTO(DataRow dataRow)
        {
            EmployeeCategoryDTO employeeCategoryDTO = new EmployeeCategoryDTO();

            employeeCategoryDTO.EmployeeCategoryID = int.Parse(dataRow["EmployeeCategoryID"].ToString());
            //employeeCategoryDTO.EmployeeCategoryName = dataRow["EmployeeCategoryName"].ToString();
            employeeCategoryDTO.EmployeeCategoryName = dataRow["Description"].ToString();
            employeeCategoryDTO.Description          = dataRow["Description"].ToString();
            employeeCategoryDTO.SerialName           = dataRow["SerialName"].ToString();
            employeeCategoryDTO.Remarks = dataRow["Remarks"].ToString();

            return(employeeCategoryDTO);
        }
Exemple #2
0
 public EmployeeCategoryBLL()
 {
     employeeCategoryDTO = new EmployeeCategoryDTO();
     employeeCategoryDAL = new EmployeeCategoryDAL();
 }