You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ILuCrud.cs 791B

123456789101112131415161718
  1. using System.Collections.Generic;
  2. using Luticate2.Auth.Utils.Dbo.Fields;
  3. using Luticate2.Auth.Utils.Dbo.Pagination;
  4. using Luticate2.Auth.Utils.Dbo.Result;
  5. namespace Luticate2.Auth.Utils.Interfaces
  6. {
  7. public interface ILuCrud<TDbo>
  8. {
  9. LuResult<IList<TDbo>> Create(LuPartialFieldsDbo partialResponse, LuPartialFieldsDbo partialInput, IEnumerable<TDbo> dbos);
  10. LuResult<LuPaginatedDbo<TDbo>> Read(LuPartialFieldsDbo partialResponse, LuPaginatedParamsDbo paginationParams);
  11. LuResult<IList<TDbo>> Update(LuPartialFieldsDbo partialResponse, LuPartialFieldsDbo partialInput, IEnumerable<TDbo> dbos);
  12. LuResult<IList<TDbo>> Delete(LuPartialFieldsDbo partialResponse, LuPartialFieldsDbo partialInput, IEnumerable<TDbo> dbos);
  13. }
  14. }