using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace TTSW.EF { public interface IBaseService { #region Query Functions ViewModel Get(Key id); #endregion #region Manipulation Functions ViewModel Insert(InputModel model); ViewModel Update(Key id, InputModel model); ViewModel SetAsActive(Key id); ViewModel SetAsInactive(Key id); void Delete(Key id); #endregion } }