/Database/IDatabase.cs
C# | 16 lines | 15 code | 1 blank | 0 comment | 0 complexity | 21e867d1cabf948ce17b453ab5a48577 MD5 | raw file
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Login.Database
- {
- public interface IDatabase
- {
- int GetNumberOfLoginTries(string Login);
- string GetAllowedIp ( string Login );
- bool ValidateLoginAndPassword ( string Login, string Password );
- void UpdateNumberOfLoginTries ( string Login );
- }
- }