BinaryStudio.TaskManager.Logic.Core.HumanTaskRepository.GetAllTasksForUserInProject C# (CSharp) Method

GetAllTasksForUserInProject() public method

public GetAllTasksForUserInProject ( int projectId, int userId ) : IEnumerable
projectId int
userId int
return IEnumerable
        public IEnumerable<HumanTask> GetAllTasksForUserInProject(int projectId, int userId)
        {
            return this.dataBaseContext.HumanTasks.Where(x => x.ProjectId == projectId && x.AssigneeId == userId);
        }