public IList <DaywiseLeaveDtlModel> GetDaywiseLeaveDtl(DateTime?FromDate, DateTime?ToDate, bool IsLeaveOnly, Int64 LeadId, bool OnlyReportedToMe, Int64?paramUserId, string reqUsr, bool DonotShowRejected) { using (ILeaveHelper helper = new LeaveHelper()) { return(helper.GetDaywiseLeaveDtl(FromDate, ToDate, IsLeaveOnly, LeadId, OnlyReportedToMe, paramUserId, reqUsr, DonotShowRejected)); } }