Exemple #1
0
        public int SaveCustomer(InputCustomerDto model)
        {
            Customer entity = _userMapper.MapToCustomer(model);

            _context.Customers.Add(entity);
            return(_context.SaveChanges());
        }