Esempio n. 1
0
        /// <summary>
        /// Registred new user
        /// </summary>
        /// <param name="user"></param>
        /// <returns></returns>
        public Task <ApplicationUser> Register(ApplicationUser user)
        {
            //Do code here

            return(_userGroceryRepository.Register(user));

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

            return(result);
        }