public async Task TestUpdateDevice(UpdateSoftwareRequest obj, ObjectResult resultAction, bool elementCreated = false)
        {
            SoftwareResponse defaultCompany = await this.CreatedDefaultSoftware();

            obj.Id = elementCreated == true ? defaultCompany.Id : obj.Id;

            IActionResult actionResult = await this.UpdateSoftware(obj);

            base.CheckAssert(actionResult, resultAction);
        }
        public async Task TestGetHardware(GetSoftwareByIdRequest getcom, ObjectResult resultAction, bool elementCreated = false)
        {
            SoftwareResponse defaultHardware = await this.CreatedDefaultSoftware();

            getcom.Id = elementCreated == true ? defaultHardware.Id : getcom.Id;

            IActionResult actionResult = await this.GetSoftwareById(getcom);

            base.CheckAssert(actionResult, resultAction);
        }
        public async Task TestDeleteHardware(DeleteSoftwareByIdRequest delnot, ObjectResult resultAction, bool elementCreated = false)
        {
            SoftwareResponse defaultHardware = await this.CreatedDefaultSoftware();

            //Guid createdtransactionId = CompanyComponentsValues.GetCompanyAviability();

            delnot.Id = elementCreated == true ? defaultHardware.Id : delnot.Id;

            IActionResult actionResult = await this.DeleteSoftware(delnot);

            base.CheckAssert(actionResult, resultAction);
        }