/// <summary> /// To add or edit options table /// </summary> /// <param name="optionEntity"></param> /// <returns></returns> public bool AddEditOptions(OptionsEntity optionEntity) { IOptionsBL optionsBL = new OptionsBL(); bool result = optionsBL.AddEditOptions(optionEntity); return(result); }
public List <AccountsEntity> GetAccountDetails() { IOptionsBL optionsBL = new OptionsBL(); List <AccountsEntity> result = optionsBL.GetAccountDetails(); return(result); }
public OptionsEntity GetOptionsDetails() { IOptionsBL optionsBL = new OptionsBL(); OptionsEntity result = optionsBL.GetOptionsDetails(); return(result); }
internal static bool Delete(OptionsBL optionsBL) { OnlineExamHelper.Context.sp_OnlineOptionsNewDeleteCommand(optionsBL.OptionId); return true; }
internal static bool Update(OptionsBL optionsBL) { OnlineExamHelper.Context.sp_OnlineOptionsNewUpdateCommand(optionsBL.OptionName, optionsBL.OptionType, optionsBL.FK_QuestionId, optionsBL.OptionId, optionsBL.OptionId); return true; }