Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

How to make Get All the elements of a table #1300


User avatar
0
rferrari created

Hi,

I have multiple tables with values I want to make appear in dropdown menus in the client during creation or update of entities. Typical case is phonetype for phones. Practically, I should not send anything from the client, just retrieve the complete list of items. I was thinking to use GetAll() or GetAllList() or GetAllListAsync(), but there is no way. I have to give an input and the input it is not to be null.

Can you help me? This is a requirement I have for a lot of items.

Thanks


2 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team

    Just use GetAllList/GetAllListAsync in your application service method. Your application service method should not get any parameters. Can you send your application service method to see how did you implement it.

  • User Avatar
    0
    rferrari created

    I was using those, but probably I had issues with my Dtos. Now Everything is working fine. Thanks!