List< MainSegmentClientModel >? MainSegments
async Task< MainSegmentClientModel > CreateMainSegment(MainSegmentClientModel mainSegmentView)
void UpdateMainSegments(List< MainSegmentClientModel > mainSegments)
MainSegmentViewModel(DataContext context, IMapper mapper)
readonly MainSegmentServices _mainSegmentService
MainSegmentService class inserts and updates MainSegment in the Database
async Task< List< MainSegment > > GetAllMainSegments()
Read all Main Segements from database
async Task< MainSegment > AddMainSegment(MainSegment mainSegment)
Adds a Main Segement to the database