public ActionResult <object> Get() { var accountStatuses = _accountStatusRepository.Get(HttpContext.GetUserId()); var mapper = new AccountStatusMapper(); return(mapper.Map(accountStatuses).AddLegacyFormatting()); }
public void TestSomething() { var accountStatuses = _fixture.CreateMany <AccountStatus>().ToList(); var sut = new AccountStatusMapper(); var result = sut.Map(accountStatuses); }