Exemplo n.º 1
0
        public ActionResult <object> Get()
        {
            var accountStatuses = _accountStatusRepository.Get(HttpContext.GetUserId());

            var mapper = new AccountStatusMapper();

            return(mapper.Map(accountStatuses).AddLegacyFormatting());
        }
Exemplo n.º 2
0
        public void TestSomething()
        {
            var accountStatuses = _fixture.CreateMany <AccountStatus>().ToList();

            var sut = new AccountStatusMapper();

            var result = sut.Map(accountStatuses);
        }