Exemplo n.º 1
0
 public static int DeleteNhomHanghoa(NhomHanghoa item)
 {
     return(DeleteGeneric(new { item.NhomHanghoaId }, item.GetType().Name));
 }
Exemplo n.º 2
0
 public static int AddNhomHanghoa(NhomHanghoa item)
 {
     return(InsertGeneric(item));
 }
Exemplo n.º 3
0
 public static int UpdateNhomHanghoa(NhomHanghoa item)
 {
     return(UpdateGeneric(item, "NhomHanghoaId", "NhomHanghoa"));
 }
Exemplo n.º 4
0
        public static List <NhomHanghoa> GetNhomHanghoaItems()
        {
            var item = new NhomHanghoa();

            return(SelectGeneric <NhomHanghoa>(item));
        }