Base solution for your next web application

Activities of "mohammedthamer"

thanks....

how can call the class (the class constructure need 1 argument) public class PersonAppService : IPersonAppService { private readonly IRepository<Person> _personRepository;

public PersonAppService(IRepository&lt;Person&gt; personRepository)
{
    _personRepository = personRepository;
}

public void CreatePerson(CreatePersonInput input)
{        
    person = new Person { Name = input.Name, EmailAddress = input.EmailAddress };
    _personRepository.Insert(person);
}

}

please help me !

Showing 1 to 2 of 2 entries