- Added forgot option
- added modify user
- moved login and register
This commit is contained in:
2019-01-29 19:59:12 +01:00
parent 583c67c61a
commit 746e5fe14b
17 changed files with 229 additions and 63 deletions

View File

@@ -0,0 +1,16 @@
using LinqToDB.Mapping;
namespace SeniorAssistant.Models
{
public class Forgot : IHasUsername
{
[Column(IsPrimaryKey = true, CanBeNull = false)]
public string Username { get; set; }
[Column(CanBeNull = false)]
public string Question { get; set; }
[Column(CanBeNull = false)]
public string Answer { get; set; }
}
}