Esempio n. 1
0
        public async Task <ResultPT> PostAsync([FromBody] Profile_MasterDTO value)
        {
            ResultPT result = null;

            if (ModelState.IsValid)
            {
                using (Profile_MasterBAL profile_MasterBAL = new Profile_MasterBAL())
                {
                    result = await profile_MasterBAL.InsertAsync(value);
                }
            }
            return(result);
        }