public List <CommContracts.Registration> GetAllClinicPatients(DateTime startDate, DateTime endDate, string strFindName = "", bool HavePay = false) { BLL.Registration temp = new BLL.Registration(); return(temp.GetAllClinicPatients(startDate, endDate, strFindName, HavePay)); }