Exemple #1
0
        public async Task <JsonResult> AddEquipmentToModel([FromBody] Model.EquipmentModel equipmentModel)
        {
            await CheckPermission();

            var sqlR = new ModelRepository(_logger);
            var res  = await sqlR.AddEquipmentToModel(equipmentModel);

            return(Json(res));
        }