Account.DailyManagement.ViewModel.VMDailyManagement.RefreshExecute C# (CSharp) Method

RefreshExecute() private method

private RefreshExecute ( string param ) : void
param string
return void
        private void RefreshExecute(string param)
        {
            DateTime now = DateTime.Now.Date;
            if (param == "reset")
            {
                this.Start = now.AddDays(-now.Day + 1);
                this.End = this.Start.AddMonths(1).AddDays(-1);
            }
            else if (param == "refresh")
            {
                this.Start = new DateTime(now.Year, 1, 1);
                this.End = this.Start.AddYears(1).AddDays(-1);
            }
            else if (param == "search")
            {
            }
            this.RefreshDaily(true);
        }