public HttpResponseMessage Post([FromBody] tblidioma value)
        {
            var tblidioma = IdiomasRepository.GuardarIdioma(value);
            HttpResponseMessage response = Request.CreateResponse(HttpStatusCode.OK, tblidioma);

            return(response);
        }
示例#2
0
 public IdiomaDialectoBusiness(IUnitOfWork _unitOfWork)
 {
     unitOfWork = _unitOfWork;
     idiomaDialectoRepository = new IdiomaDialectoRepository(unitOfWork);
     idiomaRepository         = new IdiomasRepository(unitOfWork);
 }
示例#3
0
 public IdiomasBusiness(IUnitOfWork _unitOfWork)
 {
     unitOfWork        = _unitOfWork;
     idiomasRepository = new IdiomasRepository(_unitOfWork);
 }
示例#4
0
 public IdiomasController()
 {
     _idiomasRepo = new IdiomasRepository();
     _adjuntoRepo = new AdjuntoRepository();
 }