public void RemoveHotelPackage(int id) { HotelPackageService.Remove(new HotelPackageEditViewModel() { ID = id }); }
public ResultViewModels <string> RemoveHotelPackage(int id) { ResultViewModels <string> result = new ResultViewModels <string>(); try { result.Successed = true; result.Message = "Successfully Deleted"; HotelPackageService.Remove(id); } catch (Exception ex) { result.Successed = false; result.Message = "Error Occured"; } return(result); }