public int Insert(GroupSaleVehicle poco, IDbConnection connection)
 {
     var dynamicParams = new DynamicParameters(mapper.Map(poco));
     dynamicParams.Add("@VehicleID", dbType: DbType.Int32, direction: ParameterDirection.Output);
     connection.Execute("InsertSaleVehicle7", dynamicParams ,commandType: CommandType.StoredProcedure);
     return dynamicParams.Get<int>("@VehicleID");
 }
 public bool Update(GroupSaleVehicle poco)
 {
     using (var connection = new SqlConnection(ConfigurationManager.ConnectionStrings["ABS-SQL"].ConnectionString))
     {
         return connection.Update(poco);
     }
 }
 public bool Update(GroupSaleVehicle poco, IDbConnection connection)
 {
     return connection.Update(poco);
 }
 public int Insert(GroupSaleVehicle poco)
 {
     throw new System.NotImplementedException();
 }