This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void Display_Username_Shold_Be_iFew() | |
{ | |
var _options = new DbContextOptionsBuilder<MemberContext>().UseInMemoryDatabase("get_by_id_members").Options; | |
var _context = new MemberContext(_options); | |
_context.Members.Add( | |
new MemberModel | |
{ | |
Id = 1, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace member_dummy | |
{ | |
public class Member | |
{ | |
Boolean authorized; | |
public Member(IAuthorize authorize) { | |
this.authorized = authorize.CheckAuthorize("ifew", "1234"); |
NewerOlder