Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

225
Views
best practice to store multiple inputs value

I have created an asp.net web API project with angular in the front-end. I have to create a model like this :

enter image description here

but using a formGroup in typeScript will cost a lot of time and energy, same in the backend I have to create a +50 query to store the data.

this.formGroup=this.fb.group({

  siloA1:['',Validators.required],
  siloA2:['',Validators.required],
  siloA3:['',Validators.required],
  siloA4:['',Validators.required],
  siloA5:['',Validators.required],
  siloA6:['',Validators.required],
 .............

in the service .net I have to repeat this code for every input :

shiftTranferStatusAdded = new ShiftTranferStatus
                    {
                        subsystemId = option.silo,
                        unitId = option.unite_id
                    };
                    shiftTranferAdded = _dbContext.shiftTranfers.Add(shiftTranferAdded);

Which are the steps to follow to achieve that?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!