コード例 #1
0
        public void GetSalesUsersTest()
        {
            var secRepo = new SecurityHandlerProd();
            var result  = secRepo.GetSalesUsers();

            Assert.IsNotEmpty(result);
        }
コード例 #2
0
 public IEnumerable <JObject> GetSalesUsers()
 {
     return(_secRepo.GetSalesUsers().Select(u => new JObject
     {
         { "ID", u.UserID },
         { "FullName", $"{u.FirstName} {u.LastName}" }
     }));
 }