Refactoring - split data, logic and model layers; custom network exception
This commit is contained in:
19
StudentHouseDashboard/Models/IVotable.cs
Normal file
19
StudentHouseDashboard/Models/IVotable.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace Models
|
||||
{
|
||||
public interface IVotable
|
||||
{
|
||||
void UpVote()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
void DownVote()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user