Example #1
0
        public async Task <ActionResult <AreaDTO> > Put(AreaDTO area)
        {
            var departmentPayload = await _service.Put(this.InstanceID, this.IdentityID, this.IdentityWorkID, new AreaValidator(), _mapper, area);

            if (departmentPayload != null)
            {
                return(Ok(departmentPayload));
            }

            return(Ok());
        }