public HttpResponseMessage Post([FromBody] tblidioma value) { var tblidioma = IdiomasRepository.GuardarIdioma(value); HttpResponseMessage response = Request.CreateResponse(HttpStatusCode.OK, tblidioma); return(response); }
public IdiomaDialectoBusiness(IUnitOfWork _unitOfWork) { unitOfWork = _unitOfWork; idiomaDialectoRepository = new IdiomaDialectoRepository(unitOfWork); idiomaRepository = new IdiomasRepository(unitOfWork); }
public IdiomasBusiness(IUnitOfWork _unitOfWork) { unitOfWork = _unitOfWork; idiomasRepository = new IdiomasRepository(_unitOfWork); }
public IdiomasController() { _idiomasRepo = new IdiomasRepository(); _adjuntoRepo = new AdjuntoRepository(); }