BinaryStudio.TaskManager.Logic.Core.ProjectRepository.GetById C# (CSharp) Method

GetById() public method

The get by id.
public GetById ( int projectId ) : Project
projectId int /// The project id. ///
return BinaryStudio.TaskManager.Logic.Domain.Project
        public Project GetById(int projectId)
        {
            return this.dataBaseContext.Projects.Single(it => it.Id == projectId);
        }