Exemplo n.º 1
0
 public void Delete(int id)
 {
     using (_connection = Utilities.Database.GetProfiledOpenConnection())
     {
         _connection.Delete<TwitterApp>(id);
     }
 }
Exemplo n.º 2
0
 public void Delete(int id)
 {
     using (_connection = Utilities.GetProfiledOpenConnection())
     {
         _connection.Delete<Vote>(id);
     }
 }
 public RestaurantType Delete(RestaurantType entity)
 {
     using (_connection = Utilities.GetProfiledOpenConnection())
     {
        _connection.Delete(entity);
     }
     return entity;
 }
Exemplo n.º 4
0
 public Veto Delete(Veto entity)
 {
     using (_connection = Utilities.GetProfiledOpenConnection())
     {
         _connection.Delete(entity);
     }
     return entity;
 }
 public ActionResult Delete(int id)
 {
     using (_connection = Utilities.GetOpenConnection())
     {
         _connection.Delete<User>(id);
     }
     return RedirectToAction("index");
 }
Exemplo n.º 6
0
 public Holiday Delete(Holiday entity)
 {
     using (_connection = Utilities.GetProfiledOpenConnection())
     {
         _connection.Delete(entity);
     }
     return entity;
 }
Exemplo n.º 7
0
 public JobLog Delete(JobLog entity)
 {
     using (_connection = Utilities.GetProfiledOpenConnection())
     {
         _connection.Delete(entity);
     }
     return entity;
 }
 public ActionResult Delete(string id)
 {
     using (_connection = Utilities.GetOpenConnection())
     {
         _connection.Delete<GUIDTestViewModel>(id);
     }
     return RedirectToAction("index");
 }