public bool ShiftAccommodationMappings(MDMSVC.DC_Mapping_ShiftMapping_RQ MappingData) { object result = null; ServiceConnection.MDMSvcProxy.PostData(ConfigurationManager.AppSettings["Mapping_ShiftProductMappingURI"], MappingData, typeof(MDMSVC.DC_Mapping_ShiftMapping_RQ), typeof(bool), out result); return((bool)result); }
public void ShiftMapping(Guid From, Guid To, string Remark) { MDMSVC.DC_Mapping_ShiftMapping_RQ obj = new MDMSVC.DC_Mapping_ShiftMapping_RQ(); obj.Accommodation_From_Id = From; obj.Accommodation_To_Id = To; obj.Edit_Date = DateTime.Now; obj.Edit_User = System.Web.HttpContext.Current.User.Identity.Name; obj.Remarks = Remark; if (mapperSvc.ShiftAccommodationMappings(obj)) { } }