Ejemplo n.º 1
0
        /// <summary>
        /// Gets the filters.
        /// </summary>
        /// <param name="name">The name.</param>
        /// <param name="fromdate">The fromdate.</param>
        /// <param name="todate">The todate.</param>
        /// <param name="leavetype">The leavetype.</param>
        /// <param name="leavestatus">The leavestatus.</param>
        /// <returns></returns>
        public async Task <List <LeaveViewModel> > GetFilters(string name, DateTime fromdate, DateTime todate, Int32 leavetype, Int32 leavestatus)
        {
            var data = await dbContext.GetFilters(name, fromdate, todate, leavetype, leavestatus);

            //return await dbContext.GetFilters(name,fromdate);
            return(data);
        }