Exemplo n.º 1
0
 private void Validate()
 {
     Seq.Note("fluentvalidation");
     using (Seq.Call("SERVICE", "validate"))
     {
     }
 }
Exemplo n.º 2
0
 public void Get()
 {
     using (Seq.Call("SERVICE", "handle GET request", "return json"))
     {
         Validate();
         MapQuery();
         _repo.GetData();
     }
 }
Exemplo n.º 3
0
 public void GetData()
 {
     using (Seq.Call("REPO", "get entities", "return entities"))
     {
         Seq.Self("get connection string");
         Seq.Note("make connection");
         Seq.Note("execute sql");
         Seq.Note("map to entity");
     }
 }