Initial commit - Auth
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
// using System;
|
||||
// using System.Collections.Generic;
|
||||
// using System.Linq;
|
||||
// using System.Threading.Tasks;
|
||||
// using Domain.Entities;
|
||||
// using Microsoft.EntityFrameworkCore;
|
||||
// using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
|
||||
// namespace Auth.Domain.Configuration;
|
||||
|
||||
// public class ShippingConfiguration : IEntityTypeConfiguration<Shipping>
|
||||
// {
|
||||
// private List<Shipping> Generate()
|
||||
// {
|
||||
// return new List<Shipping>()
|
||||
// {
|
||||
// new Shipping() {Id = 1, ShippingCost = 10, Name ="Standard Shipping - $10"},
|
||||
// new Shipping() {Id = 2, ShippingCost = 50, Name ="Fast Shipping - $50"},
|
||||
|
||||
// };
|
||||
|
||||
// }
|
||||
|
||||
// public void Configure(EntityTypeBuilder<Shipping> builder)
|
||||
// {
|
||||
// builder.HasData(Generate());
|
||||
// // builder.HasIndex(u => u.Name).IsUnique();
|
||||
// }
|
||||
|
||||
|
||||
// }
|
||||
Reference in New Issue
Block a user