예제 #1
0
        /// <summary>
        /// this method will call web api for get affidavit by number
        /// </summary>
        /// <param name="affidavitNumber"></param>
        /// <returns></returns>
        public async Task <sw_posting> GetAffidavitByNumber(string affidavitNumber)
        {
            sw_posting result = new sw_posting();

            result = await HelperClass.GetResponse(result, "GetAffidavitByNumber?affidavitNumber=" + affidavitNumber);

            return(result);
        }
 void SendAffidavitInfo(SidewalkPermitWPF.Model.sw_posting affidavit)
 {
     if (affidavit != null)
     {
         Messenger.Default.Send <MessageCommunicator>(new MessageCommunicator()
         {
             AffidavitInfo = affidavit
         });
     }
 }