Posts

Backend works Log

Image
Update Multiple Records Request object  public class UpdateCampaignRuleRequest     {         public List<BbReferralCampaignRule> Items { get; set; }         public UpdateCampaignRuleRequest()         {             this.Items = new List<BbReferralCampaignRule>();         }     } ------------------------------------ Mapper  public class MappingProfile : Profile     {         public MappingProfile()         {             CreateMap<AddCampaignRuleRequest, BbReferralCampaignRule>();         }     } ----------- in startup.cs - > ConfigureServices.cs   AppStartup.ConfigureAutoMapperServices(services); in startup.cs - separate method  public static void ConfigureAutoMapperServices(IServiceCollection services)...

Vue Js Worked Noted - Part 1

This doc useful to remember some new works that has been done in vue js   INDEX Bool in javascript Downloadable Table Records Redirect / redirect with params  Set state and get state Emit Function JSON . parse () Bind class Based on Condition ------------------------------------------------------------------------------- Set state and get state Store - > apicore.js import { scHelpers } from "~/assets/js/utils" ; const { uniqueID } = scHelpers ; export const state = () => ({    siteIds: [] }); export const getters = {    getSiteIds ( state ) {      return state . siteIds ;   }, }; export const mutations = {    setSiteIds ( state , siteIds ) {      state . siteIds = siteIds ;   }, }; export const actions = {    fetchSiteIds ({ commit , dispatch }) {      const siteIds = [       {    ...