Beispiel #1
0
        /// <summary>
        /// creates customer
        /// </summary>
        /// <param name="customer"></param>
        /// <returns></returns>
        public async Task <IEnumerable <Customer> > addCustomerStoredProcedure(Customer customer)
        {
            customer.Created = DateTime.Now;

            var response = await _storedProcedureRepository.AddCustomer(customer, PersonRole, SourcePersonID);

            return(response); // return the Created user
        }