Restructured query repositries to move ef logic from handlers

This commit is contained in:
2019-04-27 00:02:55 -04:00
parent 7be4075222
commit 1a95acac01
18 changed files with 169 additions and 59 deletions

View File

@@ -8,9 +8,9 @@ namespace BrightGlimmer.Domain
[Table("Phones")]
public class Phone : Entity
{
public PhoneType Type { get; private set; }
public int AreaCode { get; private set; }
public int Number { get; private set; }
public PhoneType Type { get; set; }
public int AreaCode { get; set; }
public int Number { get; set; }
private Phone() { }