Created
May 11, 2015 18:33
-
-
Save mskutta/27437a95050400da8d94 to your computer and use it in GitHub Desktop.
Social Sort Service.cs
This file contains 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
public class Service : IService | |
{ | |
public int GetPageViews(Item item) | |
{ | |
return GetPageViews(item.ID); | |
} | |
public int GetPageViews(ID id) | |
{ | |
return GetPageViews(id.Guid); | |
} | |
public int GetPageViews(Guid id) | |
{ | |
return Cache.GetPageViews(id); | |
} | |
public int GetSocialInteractions(Item item) | |
{ | |
return GetSocialInteractions(item.ID); | |
} | |
public int GetSocialInteractions(ID id) | |
{ | |
return GetSocialInteractions(id.Guid); | |
} | |
public int GetSocialInteractions(Guid id) | |
{ | |
return Cache.GetSocialInteractions(id); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment