using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using GreenTree.Nachtragsmanagement.Core.Domain.Appendix; namespace GreenTree.Nachtragsmanagement.Services.Appendix { public interface IAppendixService { #region Appendix /// /// Gets all appendices /// IList GetAllAppendices(); /// /// Gets a appendix by specified Id /// /// Appendix identifier. Core.Domain.Appendix.Appendix GetAppendixById(int id); /// /// Gets all appendices to the specified ids /// IList GetAppendicesByIds(int[] ids); /// /// Gets a appendix by specified customer number /// /// Customer number. Core.Domain.Appendix.Appendix GetAppendixByCustomNumber(int customNumber); /// /// Insert a appendix /// /// Appendix. void InsertAppendix(Core.Domain.Appendix.Appendix appendix); /// /// Update a appendix /// /// Appendix. void UpdateAppendix(Core.Domain.Appendix.Appendix appendix); /// /// Delete a appendix /// /// Appendix. void DeleteAppendix(Core.Domain.Appendix.Appendix appendix); #endregion #region Category /// /// Gets all categories /// IList GetAllCategories(); /// /// Gets a category by specified Id /// /// Category identifier. Category GetCategoryById(int id); /// /// Gets all categories to the specified ids /// IList GetCategoriesByIds(int[] ids); /// /// Insert a category /// /// Category. void InsertCategory(Category category); /// /// Update a category /// /// Category. void UpdateCategory(Category category); /// /// Delete a category /// /// Category. void DeleteCategory(Category category); #endregion } }