public int CreateEmployee(EmployeeInfo emp) { objContext.AddToEmployeeInfoes(emp); objContext.SaveChanges(); return(emp.EmpNo); }