/// <summary> /// This function will add rows in the SQL datatable /// </summary> /// <param name="empdto">Object if EmployeeDTO object</param> /// <returns>Primary key of the inserted row</returns> public int AddBL(EmployeeDTO empdto) { Employee emp = mapper.ToModelObj(empdto); int result = empdal.AddDL(emp); return(result); }