using BPASmartClient.MorkCL.Model.DB; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BPASmartClient.MorkCL.Server { internal interface ISqlite : IServer { //主料 bool AddIngredients(IngredientsTB mb); bool EditIngredients(IngredientsTB req); bool DelIngredients(string id); IngredientsTB GetIngredientsInfo(string id); List GetIngredients(); //辅料 bool AddAccessories(AccessoriesTB mb); bool EditAccessories(AccessoriesTB req); bool DelAccessories(string id); AccessoriesTB GetAccessoriesInfo(string id); List GetAccessories(); //调料 bool AddSeasoning(SeasoningTB mb); bool EditSeasoning(SeasoningTB req); bool DelSeasoning(string id); SeasoningTB GetSeasoningInfo(string id); List GetSeasoning(); } }