public static bool Eliminar(Facturas factura) { using (var context = new DAL.Respository <Entidades.Facturas>()) { try { return(context.Eliminar(factura)); } catch (Exception) { throw; } } }
public static bool Eliminar(Entidades.Empleados empleado) { using (var conec = new DAL.Respository <Entidades.Empleados>()) { try { return(conec.Eliminar(empleado)); } catch (Exception) { throw; } } return(false); }
public static bool Eliminar(Entidades.Retenciones retencion) { using (var conec = new DAL.Respository <Entidades.Retenciones>()) { try { return(conec.Eliminar(retencion)); } catch (Exception) { throw; } } return(false); }
public static bool Eliminar(Entidades.Productos producto) { using (var Context = new DAL.Respository <Entidades.Productos>()) { try { return(Context.Eliminar(producto)); } catch (Exception) { throw; } } return(false); }