| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- 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
- /// <summary>
- /// Gets all appendices
- /// </summary>
- IList<Core.Domain.Appendix.Appendix> GetAllAppendices();
- /// <summary>
- /// Gets a appendix by specified Id
- /// </summary>
- /// <param name="id">Appendix identifier.</param>
- Core.Domain.Appendix.Appendix GetAppendixById(int id);
- /// <summary>
- /// Gets all appendices to the specified ids
- /// </summary>
- IList<Core.Domain.Appendix.Appendix> GetAppendicesByIds(int[] ids);
- /// <summary>
- /// Gets a appendix by specified customer number
- /// </summary>
- /// <param name="id">Customer number.</param>
- Core.Domain.Appendix.Appendix GetAppendixByCustomNumber(int customNumber);
- /// <summary>
- /// Insert a appendix
- /// </summary>
- /// <param name="appendix">Appendix.</param>
- void InsertAppendix(Core.Domain.Appendix.Appendix appendix);
- /// <summary>
- /// Update a appendix
- /// </summary>
- /// <param name="appendix">Appendix.</param>
- void UpdateAppendix(Core.Domain.Appendix.Appendix appendix);
- /// <summary>
- /// Delete a appendix
- /// </summary>
- /// <param name="appendix">Appendix.</param>
- void DeleteAppendix(Core.Domain.Appendix.Appendix appendix);
- #endregion
- #region Category
- /// <summary>
- /// Gets all categories
- /// </summary>
- IList<Category> GetAllCategories();
- /// <summary>
- /// Gets a category by specified Id
- /// </summary>
- /// <param name="id">Category identifier.</param>
- Category GetCategoryById(int id);
- /// <summary>
- /// Gets all categories to the specified ids
- /// </summary>
- IList<Category> GetCategoriesByIds(int[] ids);
- /// <summary>
- /// Insert a category
- /// </summary>
- /// <param name="category">Category.</param>
- void InsertCategory(Category category);
- /// <summary>
- /// Update a category
- /// </summary>
- /// <param name="category">Category.</param>
- void UpdateCategory(Category category);
- /// <summary>
- /// Delete a category
- /// </summary>
- /// <param name="category">Category.</param>
- void DeleteCategory(Category category);
- #endregion
- }
- }
|