Created
January 7, 2018 00:45
-
-
Save aramkoukia/413bb7adfe25afbc0e8aa400915cf3b5 to your computer and use it in GitHub Desktop.
User Repository Interface
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
namespace CachingAspectOrientedImplemetation | |
{ | |
public interface IUserRepository | |
{ | |
[Cache("key")] | |
IEnumerable<string> GetUsers(); | |
string GetUsers(string id); | |
[InvalidateCache("key")] | |
bool UpdateUser(string username); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment