Example #1
0
 public void Add(CustomerDto customer)
 {
     customerDao.Add(DtoConverter.Convert(customer));
 }
Example #2
0
 //Adds a new BankCustomer object to the list of IBankCustomers
 public static void Register(IBankCustomer bankCustomer)
 {
     customerDao.Add(bankCustomer);
 }
 public void Add(Customer entity)
 {
     _customerDao.Add(entity);
 }
Example #4
0
 public IResult Add(Customer customer)
 {
     _customerDao.Add(customer);
     return(new SuccessResult(Messages.AddedCustomer));
 }
Example #5
0
        public bool Add(ref Customer customer)
        {
            NullCheck(customer);

            return(customerDao.Add(ref customer));
        }