/// <summary>
 ///     Create new LookupArea with Result
 /// </summary>
 /// <param name="data">Result</param>
 public LookupArea(LookupAreaResult data)
 {
     Data          = data;
     ErrorMessage  = Exceptions.Message;
     ErrorOccurred = Exceptions.ErrorOccurred;
     Response      = Http.LastResponse;
 }
示例#2
0
        /// <summary>
        ///     Create new LookupArea with Result
        /// </summary>
        /// <param name="data">Result</param>
        public LookupArea(LookupAreaResult data)
        {
            if (data == null)
            {
                data = new LookupAreaResult();
            }

            Data     = data;
            Response = Http.LastResponse;
        }