コード例 #1
0
        public EFAccountView InsertUser(EFAccount account)
        {
            _AuthorizationRepository.InsertUser(DataContext, account);
            EFAccount user = _AuthorizationRepository.GetUser(DataContext, account.Id);

            return(new EFAccountView()
            {
                UserName = user.UserName, Id = user.Id, InUse = user.InUse, Name = user.Name, Surname = user.Surname
            });
        }