public PersonBlTest() { DtoMappers.Init(); _personDto = new PersonDto(); _personRepository = A.Fake<IPersonRepository>(); _uow = new UnitOfWorkTest {PersonRepository = _personRepository}; _person = new Person { Id = PersonId, Age = 20, FirstName = "First", LastName = "Last", Sex = true }; }
internal PersonDto FromEntityToModel(Person person) { var personDto = Mapper.Map<PersonDto>(person); return personDto; }