Guest User

Untitled

a guest
Jun 21st, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. public abstract class DemoTool{
  2. // references to domain services and use
  3.  
  4. public Guid CreateConsumer(string email, string password){
  5. return _userService.CreateConsumer(new ConsumerCreateRequest{
  6. Email = email,
  7. Password = password,
  8. ConfirmPassword = password,
  9. /*other property assignment*/}
  10. ).Id;
  11. }
  12.  
  13. /*methods for creating inventory, transactions, categories, etc...
  14. All take Guid identifiers for references and return Guid identifiers as results*/
  15. }
Add Comment
Please, Sign In to add comment