BinaryStudio.TaskManager.Logic.Core.UserRepository.GetById C# (CSharp) Méthode

GetById() public méthode

The get by id.
public GetById ( int userId ) : User
userId int /// The user id. ///
Résultat BinaryStudio.TaskManager.Logic.Domain.User
        public User GetById(int userId)
        {
            return this.dataBaseContext.Users.Single(x => x.Id == userId);
        }