public IList <ViewEmployeeProfileModel> GetTeamProfiles(Int64 userId, bool onlyReportedToMe, Int64?paramUserId, string requestMenuUser, bool hideInactiveEmp) { using (var dac = new EmployeeDac()) { return(dac.GetTeamProfiles(userId, onlyReportedToMe, paramUserId, requestMenuUser, hideInactiveEmp)); } }