Skip to content

Commit

Permalink
Update framework-abstractions.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mikechamberlain authored Oct 5, 2018
1 parent 1741696 commit 55310f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/services/framework-abstractions.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public sealed class CustomerRepository : ICustomerRepository
public void Save(Customer entity)
{
// Not only have we tied ourselves to ASP.NET, but our class becomes annoying
// to test as we have to mock this long chain of references:
// to test as we have to mock this trainwreck:
entity.CreatedBy = this.accessor.HttpContext.User.Identity.Name;
this.uow.Save(entity);
}
Expand Down

0 comments on commit 55310f1

Please sign in to comment.