public IList <PermissionDetailsModel> GetPermissionDetail(Int64?paramUserId, string reqUsr, DateTime?startDate, DateTime?endDate, bool OnlyReportedToMe, Int64 LeadId) { using (ILeaveHelper helper = new LeaveHelper()) { return(helper.GetPermissionDetail(paramUserId, reqUsr, startDate, endDate, OnlyReportedToMe, LeadId)); } }