public LanguageApiModule()
     : base("api/Language")
 {
     Get["/"] = _ =>
     {
         var languages = new LanguageRepository().GetLanguages();
         return Response.AsJson<IEnumerable<Language>>(languages);
     };
 }
 public LanguageApiModule()
     : base("api/Language")
 {
     Get["/"] = _ =>
     {
         var languages = new LanguageRepository().GetLanguages();
         return(Response.AsJson <IEnumerable <Language> >(languages));
     };
 }