/// <summary> /// Gets the leaves by employee. /// </summary> /// <param name="id">The identifier.</param> /// <returns></returns> public async Task <List <Leave> > GetLeavesByEmployee(Guid id) { return(await dbContext.GetLeavesByEmployee(id)); }