public Email[] Get(string paramTwo, string paramOne, string APIKey, string useLINQ) { if (!Permissions.ValidAPIKey(APIKey)) { return new Email[] { } } ; Log.Append(String.Format("GET Email ({1}) - param: '{0}'", paramOne, paramTwo)); return(emailListRepository.GetAllEmails(paramTwo, paramOne, useLINQ == "1").ToArray()); }