Skip to content

Commit 3c0c3eb

Browse files
committed
adding interfaces
1 parent 9d79c7c commit 3c0c3eb

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
using AspnetRunBasics.Entities;
2+
using System.Threading.Tasks;
3+
4+
namespace AspnetRunBasics.Repositories
5+
{
6+
public interface IContactRepository
7+
{
8+
Task<Contact> SendMessage(Contact contact);
9+
Task<Contact> Subscribe(string address);
10+
}
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Threading.Tasks;
5+
6+
namespace AspnetRunBasics.Repositories
7+
{
8+
public class IProductRepository
9+
{
10+
}
11+
}

0 commit comments

Comments
 (0)