Пример #1
0
 private void Validate()
 {
     Seq.Note("fluentvalidation");
     using (Seq.Call("SERVICE", "validate"))
     {
     }
 }
Пример #2
0
 public void Get()
 {
     using (Seq.Call("SERVICE", "handle GET request", "return json"))
     {
         Validate();
         MapQuery();
         _repo.GetData();
     }
 }
Пример #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");
     }
 }