public void CreateCustomer(Customer customer) { _auditLogDbContext.Add(customer); _auditLogDbContext.SaveChanges(); _auditLogRepository.CreateLog(customer.Id, "Customer", Convert.ToInt16(OperationTypeEnum.Create), new Customer(), customer); }