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

GetAllTasksForEmployee() public method

The get all tasks for employee.
public GetAllTasksForEmployee ( int employeeId ) : IList
employeeId int /// The employee id. ///
return IList
        public IList<HumanTask> GetAllTasksForEmployee(int employeeId)
        {
            return this.dataBaseContext.HumanTasks.Where(it => it.AssigneeId == employeeId).ToList();
        }