public IHttpActionResult DeleteDimEmployee(int id)
        {
            DimEmployeeType dimEmployee = employee.Value.Delete(id).MapperPruebasDetached(new DimEmployeeType());

            if (dimEmployee == null)
            {
                return(NotFound());
            }

            return(Ok(dimEmployee));
        }
        public IHttpActionResult PutDimEmployee(DimEmployeeType dimEmployee)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }

            employee.Value.Update(dimEmployee);

            return(StatusCode(HttpStatusCode.NoContent));
        }
        //[ResponseType(typeof(DimEmployeeType))]
        public IHttpActionResult PostDimEmployee(DimEmployeeType dimEmployee)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }

            dimEmployee = employee.Value.Create(dimEmployee).MapperPruebasDetached(new DimEmployeeType());

            return(CreatedAtRoute("DefaultApi", new { id = dimEmployee.EmployeeKey }, dimEmployee));
        }
        public IHttpActionResult GetDimEmployee(int id)
        {
            DimEmployeeType dimEmployee = DimEmployeeId(id);

            if (dimEmployee == null)
            {
                return(NotFound());
            }

            return(Ok(dimEmployee));
        }