예제 #1
0
        public void AddCustomer(CustomerDto dto)
        {
            var entity = dto.ToModel <Customer>();

            entity.AnswerTime = DateTime.Now;
            CustomerRepository.Insert(entity);
        }
예제 #2
0
 public int Insert(Customer customer)
 {
     return(repo.Insert(customer));
 }