public int Update(ViewYogaMenus model) { Respository.updateEntity(ViewYogaMenus.ToEntity(model)); return(Respository.Save()); }
public int Add(ViewYogaMenus menus) { Respository.Add(ViewYogaMenus.ToEntity(menus)); return(menus.Id); }
public int Update(ViewYogaMenus model) { Respository.updateEntity(ViewYogaMenus.ToEntity(model)); return(Respository.Save()); }
public int Add(ViewYogaMenus menus) { Respository.Add(ViewYogaMenus.ToEntity(menus)); return(menus.Id); }