Ejemplo n.º 1
0
        public async Task <IEnumerable <OrphanageDataModel.FinancialData.Account> > GetAccounts(int Uid)
        {
            var ret = await _userDBService.GetAccounts(Uid);

            if (ret == null)
            {
                throw new HttpResponseException(System.Net.HttpStatusCode.NotFound);
            }
            else
            {
                return(ret);
            }
        }