コード例 #1
0
 /// <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);
 }
コード例 #2
0
ファイル: SettingsService.cs プロジェクト: njmube/RetailPOS
 /// <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);
 }