public HttpResponseMessage Get([FromUri] int Id, [FromUri] string[] include, [FromUri] bool indent = false)
 {
     try {
         var formatter = new MaxDepthJsonMediaTypeFormatter()
         {
             Indent = indent
         };
         if (include.Length > 0)
         {
             formatter.SerializerSettings.MaxDepth = 100;                     //include.Max<string>(s => s.Split('.').Length * 5);
             formatter.SerializerSettings.PreserveReferencesHandling = Newtonsoft.Json.PreserveReferencesHandling.Objects;
         }
         else
         {
             formatter.SerializerSettings.MaxDepth = 1;
         }
         Evento_Idioma evento_idioma = evento_idiomaRepository.GetById(include, (p => p.Id == Id));
         if (evento_idioma == null)
         {
             throw new HttpResponseException(HttpStatusCode.NotFound);
         }
         return(Request.CreateResponse <Evento_Idioma>(HttpStatusCode.OK, evento_idioma, formatter));
     } catch (Exception _excepcion) {
         log.Error(_excepcion);
         return(Request.CreateResponse(HttpStatusCode.InternalServerError, _excepcion));
     }
 }
        public ICommandResult Execute(DeleteEvento_IdiomaCommand command)
        {
            var Evento_Idioma = Evento_IdiomaRepository.GetById(command.Id);

            Evento_IdiomaRepository.Delete(Evento_Idioma);
            unitOfWork.Commit();
            return(new CommandResult(true));
        }