示例#1
0
        public async Task AddCabinetToPhone(int phoneId, int cabinetId)
        {
            Phone phone = await phoneService.GetPhone(phoneId);

            Cabinet cabinet = await cabinetService.GetCabinet(cabinetId);

            await phoneService.AddCabinetToPhone(phone, cabinet);
        }