/// <summary> /// Method to generate report /// </summary> /// <param name="em"></param> public void GenerateReport(BadEmployee em) { if (ReportType == "CRS") { // Report generation with employee data in Crystal Report. } if (ReportType == "PDF") { // Report generation with employee data in PDF. } }
/// <summary> /// This method used to insert into employee table /// </summary> /// <param name="em">Employee object</param> /// <returns>Successfully inserted or not</returns> public bool InsertIntoEmployeeTable(BadEmployee em) { // Insert into employee table. return(true); }