//Have functionality to store data in DB //But the method should have return type of 'UI_Channel_Display' to get and pass data from DB internal static void UpdateChannelDisplay(I_UI_Channel_Display p_data) { //Database CRUD functions// var _IsRecording = p_data.IsRecording; var _IsConnected = p_data.IsConnected; }
//How and when this function will be called// internal static void UpdateBasicChannel(I_UI_Channel_Display p_data) { //Database CRUD functions// }