/// <summary> /// Gets the pending leaves. /// </summary> /// <returns></returns> public async Task <List <LeaveViewModel> > GetPendingLeaves() { return(await dbContext.GetPendingLeaves()); }
/// <summary> /// Gets the pending leaves. /// </summary> /// <returns></returns> public async Task <List <LeaveViewModel> > GetPendingLeaves() { return(await dbContext.GetPendingLeaves()); }