PageRenderTime 48ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 0ms

/Database/IDatabase.cs

https://github.com/cmath/SimpleLoginManager
C# | 16 lines | 15 code | 1 blank | 0 comment | 0 complexity | 21e867d1cabf948ce17b453ab5a48577 MD5 | raw file
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace Login.Database
  7. {
  8. public interface IDatabase
  9. {
  10. int GetNumberOfLoginTries(string Login);
  11. string GetAllowedIp ( string Login );
  12. bool ValidateLoginAndPassword ( string Login, string Password );
  13. void UpdateNumberOfLoginTries ( string Login );
  14. }
  15. }