Esempio n. 1
0
        public List <ReleaseManagementModel> GetAllAssignedEmployees()
        {
            List <ReleaseManagementModel> employees = new List <ReleaseManagementModel>();
            DataSet dsGetAllEmployees = dal.GetAllAssignedEmployees();
            ReleaseManagementModel employee;

            foreach (DataRow row in dsGetAllEmployees.Tables[0].Rows)
            {
                employee              = new ReleaseManagementModel();
                employee.EmployeeId   = row[0].ToString();
                employee.EmployeeName = row[1].ToString();

                employees.Add(employee);
            }


            return(employees);
        }