Exemplo n.º 1
0
 public ActionResult DodajZestaw(string nameSet)
 {
     using (SetFiche setFiche = new SetFiche())
     {
         return(Json(new DTO.Models.IdPost(setFiche.AddSetFiche(nameSet, UserFiche.CurentUser.Id))));
     }
 }
Exemplo n.º 2
0
 public void TestMethod1()
 {
     using (SetFiche set = new SetFiche())
     {
         set.AddSetFiche("dana", 1);
     }
 }