/// <summary> /// Save Waste management details in database /// </summary> /// <param name="wasteManagementDetails">WasteManagement object to be saved</param> /// <returns>returns boolean value indicating if the records are saved in database</returns> bool ISettingService.SaveWasteManagement(WasteManagementDTO wasteManagementDetails) { wastemanagement wasteManagementEntity = new wastemanagement(); ObjectMapper.Map(wasteManagementDetails, wasteManagementEntity); return WasteManagementRepository.Save(wasteManagementEntity); }
/// <summary> /// Save Waste Management details in database /// </summary> /// <param name="wasteManagementDetails">Waste management object to be saved</param> /// <returns>returns boolean value indicating if the records are saved in database</returns> public bool SaveWasteManagement(WasteManagementDTO wasteManagementDetails) { return SettingService.SaveWasteManagement(wasteManagementDetails); }