Exemplo n.º 1
0
        public RequestVM GetRequestBy(int checklistPk, int idx)
        {
            var proxy = new ServiceReferenceCheckList.CheckListClient();
            var item  = proxy.GetRequestBy(checklistPk, idx);

            proxy.Close();

            if (item == null)
            {
                return(null);
            }

            var result = new RequestVM();

            Common.Helper.CopyProperties(item, result);

            return(result);
        }