public DocType[] GetDocs(string doctype = "", string lastSyncDate = "") { IPolicyService policyService = new PolicyService(); if (!string.IsNullOrWhiteSpace(doctype)) { doctype = doctype.ToUpper(); } return(policyService.GetDocs(doctype, lastSyncDate).ToArray()); }