public void GetSalesUsersTest() { var secRepo = new SecurityHandlerProd(); var result = secRepo.GetSalesUsers(); Assert.IsNotEmpty(result); }
public IEnumerable <JObject> GetSalesUsers() { return(_secRepo.GetSalesUsers().Select(u => new JObject { { "ID", u.UserID }, { "FullName", $"{u.FirstName} {u.LastName}" } })); }