public void Regjistro(KategoriteKlubore g) { try { KategoriteKluboreDAL dal = new KategoriteKluboreDAL(); dal.Shto(g); } catch (Exception ex) { throw ex; } }
public void Edito(KategoriteKlubore g) { try { KategoriteKluboreDAL dal = new KategoriteKluboreDAL(); dal.Update(g); } catch (Exception) { throw; } }
public DataTable ShfaqListenEKategorivee() { try { KategoriteKluboreDAL dal = new KategoriteKluboreDAL(); var r = dal.GetAll(); return(r); } catch (Exception ex) { throw ex; } }
public int GjejKategorinMeID(KategoriteKlubore g) { try { KategoriteKluboreDAL dal = new KategoriteKluboreDAL(); dal.GjejKlubMeID(g); int rowsAffected = g.KategoriaID; return(rowsAffected); } catch (Exception ex) { throw ex; } }