public void UpdateClient(ClientLL client) { DataBase.Clients.Update(mapper.Map <ClientDL>(client)); DataBase.Save(); }
public void AddClient(ClientLL client) { DataBase.Clients.Create(mapper.Map <ClientDL>(client)); DataBase.Save(); }