Beispiel #1
0
 public void InsertEmployeeDetail(Employee employee) // perform insertion of employee details using SP
 {
     employeeDBContext.spInsertEmployeeDetails(employee.FirstName, employee.LastName, employee.Gender, employee.Salary, employee.DepartmentId);
     employeeDBContext.SaveChanges();
 }