CustomerService.cs 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. using Microsoft.Extensions.Logging;
  2. using Quadarax.Application.QLiberace.Base.Repositories;
  3. using Quadarax.Application.QLiberace.Customer.Dtos;
  4. using Quadarax.Application.QLiberace.Customer.Enums;
  5. using Quadarax.Application.QLiberace.Customer.Repositories;
  6. using Quadarax.Foundation.Core.Business;
  7. using Quadarax.Foundation.Core.Data.Interface.Domain;
  8. using Quadarax.Foundation.Core.Data.Interface.Entity.Dto;
  9. namespace Quadarax.Application.QLiberace.Customer.Services
  10. {
  11. public class CustomerService : AbstractMultiRepositoryService<RepoCustomer,RepoContact, RepoUser>
  12. {
  13. #region *** Constructor ***
  14. public CustomerService(RepoCustomer repository1, RepoContact repository2, RepoUser repository3, IContext currentContext, ILoggerFactory logger) : base(repository1, repository2, repository3, currentContext, logger)
  15. {
  16. }
  17. #endregion
  18. #region *** Public operations ***
  19. #region **** Customer ****
  20. public ResultValueDto<CustomerRDto?> AddCustomer(CustomerWDto customer)
  21. {
  22. throw new NotImplementedException();
  23. }
  24. public ResultDto UpdateCustomer(string customerCode, CustomerWDto customer)
  25. {
  26. throw new NotImplementedException();
  27. }
  28. public ResultDto DeleteCustomer(long customerId)
  29. {
  30. throw new NotImplementedException();
  31. }
  32. public ResultValueDto<CustomerRDto?> GetCustomer(string customerCode)
  33. {
  34. throw new NotImplementedException();
  35. }
  36. public ResultValueDto<CustomerRDto?> GetCustomer(long customerId)
  37. {
  38. throw new NotImplementedException();
  39. }
  40. public ResultBoolDto ExistsCustomer(string customerCode)
  41. {
  42. throw new NotImplementedException();
  43. }
  44. #endregion
  45. #region **** User Assignments ****
  46. public ResultDto AssignUser(string customerCode, string userLogin)
  47. {
  48. throw new NotImplementedException();
  49. }
  50. public ResultDto UnAssignUser(string customerCode, string userLogin)
  51. {
  52. throw new NotImplementedException();
  53. }
  54. #endregion
  55. #region **** Customer Constacts ****
  56. public ResultValueDto<ContactRDto?> AddContact(string customerCode, ContactWDto contact)
  57. {
  58. throw new NotImplementedException();
  59. }
  60. public ResultDto UpdateContact(string customerCode, ContactWDto contact)
  61. {
  62. throw new NotImplementedException();
  63. }
  64. public ResultDto DeleteContact(long contactId)
  65. {
  66. throw new NotImplementedException();
  67. }
  68. public ResultValueDto<ContactRDto?> GetContact(long contactId)
  69. {
  70. throw new NotImplementedException();
  71. }
  72. public ResultsValueDto<ContactRDto?> GetContacts(string customerCode)
  73. {
  74. throw new NotImplementedException();
  75. }
  76. public ResultsValueDto<ContactRDto?> GetPreferredContacts(string customerCode, params ContactTypeEnum[] contactTypes)
  77. {
  78. throw new NotImplementedException();
  79. }
  80. public ResultDto ValidateContacts(string customerCode)
  81. {
  82. throw new NotImplementedException();
  83. }
  84. #endregion
  85. #endregion
  86. }
  87. }