public static int DeleteNhomHanghoa(NhomHanghoa item)
 {
     return(DeleteGeneric(new { item.NhomHanghoaId }, item.GetType().Name));
 }
 public static int AddNhomHanghoa(NhomHanghoa item)
 {
     return(InsertGeneric(item));
 }
 public static int UpdateNhomHanghoa(NhomHanghoa item)
 {
     return(UpdateGeneric(item, "NhomHanghoaId", "NhomHanghoa"));
 }
        public static List <NhomHanghoa> GetNhomHanghoaItems()
        {
            var item = new NhomHanghoa();

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