コード例 #1
0
        public async Task <FunqResult <Minion> > CreateMinionAsync(Minion minion)
        {
            await _appCache.AddOrUpdateAsync(minion.Id.ToString(), minion, null, typeof(Minion).Name).ConfigureAwait(false);

            return(FunqFactory.KeepGroovin(minion, "Succesfully added minion"));
        }