Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
using SimplR.Resources;
using SimplR.Hypermedia;
using SimplR.Services;
using App.Domain.Users;
namespace App.Resources.Users {
public class UsersResource : Resource<User> {
public override List<User> Get() {...}
public override User Get(int id) {...}
public override User Post(User user) {...}
public override User Put(User user) {...}
public override void Delete(int id) {...}
}
//...
// additional resources
//..
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.