Exemplo n.º 1
0
        /// <summary>
        /// Get user by id
        /// </summary>
        /// <param name="UserId"></param>
        /// <returns></returns>
        public Task <ApplicationUser> GetUserById(string UserId)
        {
            //Do code here

            return(_userGroceryRepository.GetUserById(UserId));

            //throw new NotImplementedException();
        }
        public async Task <ApplicationUser> GetUserById(string UserId)
        {
            var result = await _userGroceryRepository.GetUserById(UserId);

            return(result);
        }