public Task <IEnumerable <StoreDTO> > GetByUserId(string username)
        {
            return(Task.Factory.StartNew(() =>
            {
                var user = _userbusiness.GetByName(username).Result;
                IEnumerable <StoreDTO> stores = _repo.GetByUserId(user.ID).Translate <Store, StoreDTO>();
                foreach (var s in stores)
                {
                    s.Products = _productbusiness.GetAllByStore(s.ID);
                }

                return stores;
            }));
        }