コード例 #1
0
        public async Task <IActionResult> ChangePassword(ChangePassword changePassword)
        {
            try
            {
                var result = await _masterRepository.ChangePassword(changePassword);

                return(Ok(result));
            }
            catch (Exception ex)
            {
                ErrorLog.WriteToFile("Master/ChangePassword : - ", ex);
                return(BadRequest(ex.Message));
            }
        }