public DoctorBO(int pid, string firstName, string lastName, string emailID, string pwd, DateTime dateOfBirth, string securityQn, string securityAns, string phone, string address, string gender, bool isActive, DrDesignation drDesignation, DrDepartment drDepartment) : base(pid, firstName, lastName, emailID, pwd, dateOfBirth, securityQn, securityAns, phone, address, gender, isActive) { this.drDesignation = drDesignation; this.drDepartment = drDepartment; }
public PersonModel(int pid, string firstName, string lastName, string emailID, string pwd, DateTime dateOfBirth, string securityQn, string securityAns, string phone, string address, string gender, bool isActive, DrDesignation drDesignation, DrDepartment drDepartment) { this.pid = pid; this.firstName = firstName; this.lastName = lastName; this.emailID = emailID; this.pwd = pwd; this.dateOfBirth = dateOfBirth; this.securityQn = this.securityQn; this.securityAns = securityAns; this.phone = phone; this.address = address; this.gender = gender; this.isActive = isActive; this.drDesignation = drDesignation; this.drDepartment = drDepartment; }