예제 #1
0
        public async Task SetUserDetails(int userId, UserDetailsViewModel userDetailsViewModel)
        {
            var succeed = await _queries.SetUserDetails(userId, userDetailsViewModel);

            if (!succeed)
            {
                throw new Exception("Couldn't set user details!");
            }
        }