public void TransferToMQ(TestTransfer testRecModel) { var createTransferCommand = new CreateTransferCommand( testRecModel.FirstName, testRecModel.SurName ); _bus.SendCommand(createTransferCommand); }
public void Add(TestTransfer transfer) { _ctx.TestTransfer.Add(transfer); _ctx.SaveChanges(); }