BinaryStudio.TaskManager.Logic.Core.UserRepository.GetUserEmailById C# (CSharp) Метод

GetUserEmailById() публичный Метод

The get user email by id.
public GetUserEmailById ( int userId ) : string
userId int /// The user id. ///
Результат string
        public string GetUserEmailById(int userId)
        {
            return this.dataBaseContext.Users.First(x => x.Id == userId).Email;
        }