/// <summary> /// Get bcgov_Complaint from bcgov_cecontacts /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='bcgovCecontactid'> /// key: bcgov_cecontactid of bcgov_cecontact /// </param> /// <param name='select'> /// Select properties to be returned /// </param> /// <param name='expand'> /// Expand related entities /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <MicrosoftDynamicsCRMbcgovComplaint> GetAsync(this IComplaint operations, string bcgovCecontactid, IList <string> select = default(IList <string>), IList <string> expand = default(IList <string>), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetWithHttpMessagesAsync(bcgovCecontactid, select, expand, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
public string AddComplaint(IClient Client, IComplaint Complaint) { if (Client == null) { return("Client required"); } if (Complaint == null) { return("Complaint required"); } Complaint.ClientShop = Client; //var complainPrepare = new Complaint(Client, Topic, Body, FormOfCompensation, DateTime.Now, false); Client.AddedComplaints.Add(Complaint); Complaints.Add(Complaint); return("Added Succesfully"); }
public BaseComplaint(IComplaint complaint) { StringId = complaint.StringId; Title = complaint.Title; Description = complaint.Description; Date = complaint.Date; DateSubmitted = complaint.DateSubmitted; DateAnswered = complaint.DateAnswered; DateEscalated = complaint.DateEscalated; DateDecision = complaint.DateDecision; DateCanceled = complaint.DateCanceled; Status = complaint.Status; Type = complaint.Type; Resolution = complaint.Resolution; ResolutionType = complaint.ResolutionType; Satisfied = complaint.Satisfied; Decision = complaint.Decision; CancellationReason = complaint.CancellationReason; TendererAction = complaint.TendererAction; TendererActionDate = complaint.TendererActionDate; }
/// <summary> /// 获取记录日期年度列表 /// </summary> /// <returns></returns> public List <string> GetYearList() { IComplaint dal = baseDal as IComplaint; return(dal.GetYearList()); }
public ComplaintByDesk(IPlace place) { var report = new FireReport(place); this.Complaint = report; }
public WhatsAppMessage(IComplaint fireReport, WhatsAppMessage message) { Compliant = fireReport; NextMessage = message; }
public TenderComplaint(IComplaint complaint) : base(complaint) { }
/// <summary> /// Get bcgov_Complaint from bcgov_complaintchecklists /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='bcgovComplaintchecklistid'> /// key: bcgov_complaintchecklistid of bcgov_complaintchecklist /// </param> /// <param name='select'> /// Select properties to be returned /// </param> /// <param name='expand'> /// Expand related entities /// </param> public static MicrosoftDynamicsCRMbcgovComplaint Get1(this IComplaint operations, string bcgovComplaintchecklistid, IList <string> select = default(IList <string>), IList <string> expand = default(IList <string>)) { return(operations.Get1Async(bcgovComplaintchecklistid, select, expand).GetAwaiter().GetResult()); }
public AwardComplaint(IComplaint complaint) : base(complaint) { }
public ComplaintController(IComplaint repo, IBelaVistaRepository repositoryContext) { _repo = repo; _repositoryContext = repositoryContext; }
public IteratorDesk(IComplaint Compliant) { this.Compliant = Compliant; }
public ComplaintController(IComplaint complaint, IOrder order) { _complaint = complaint; _order = order; }
public ComplaintDTO(IComplaint complaint) : base(complaint) { }