コード例 #1
0
        public Store RetrieveByEmail(Store storeAdministrator)
        {
            Store s = null;

            try
            {
                s = storeCrud.Retrieve <Store>(storeAdministrator);

                if (s == null)
                {
                    throw new BussinessException(4);
                }
            }
            catch (Exception ex)
            {
                ExceptionManager.GetInstance().Process(ex);
            }
            return(s);
        }
コード例 #2
0
ファイル: StoreManagement.cs プロジェクト: aosante/CoreCode
 public Store RetrieveById(Store store)
 {
     return(crudStore.Retrieve <Store>(store));
 }