public DesignTimeCategoryEditViewModel()
 {
     ViewData = new CategoryEditViewData() {
         CategoryID = 1,
         CategoryName = "Joshuas"
     };
 }
 public void UpdateCategory(CategoryEditViewData data)
 {
     Category cat = new Category()
     {
         CategoryID = data.CategoryID,
         CategoryName = data.CategoryName,
     };
     catRep.UpdateCategory(cat);
     context_db.SaveChanges();
     Messenger.NotifyColleagues(MessageTypes.MSG_CATEGORY_SAVED, data);
 }