Пример #1
0
        public int CreateClient(Client client)
        {
            var dataRec = Mapper.Map <Data.Models.Client>(client);
            int id      = _clientGateway.Insert(dataRec);

            return(id);
        }
Пример #2
0
        public void UpdateClientInfo(Client client)
        {
            var dataRec = Mapper.Map <Data.Models.Client>(client);

            _clientGateway.UpdateInfo(dataRec);
        }