This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<system.webServer> | |
<rewrite> | |
<rules> | |
<rule name="redirrect to https" stopProcessing="true"> | |
<match url="(.*)" /> | |
<conditions> | |
<add input="{HTTPS}" pattern="^OFF$" /> | |
</conditions> | |
<action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}" /> | |
</rule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(someArguments) { | |
function1() { | |
//...someCode | |
} | |
})(arguments) | |
$(document).ready(function() { | |
function1(); // error | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Способ 1 | |
const CityForward = City.extend``; | |
//Способ 2 | |
const CityWrapper = styled(City); | |
const CityForwardTwo = CityWrapper.extend``; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
fieldId: <Number>, | |
groups: [<String>, <String>, ... ] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
FieldId: <Number>, | |
FieldTitle: <String>, | |
Values: [ | |
{ | |
Title: <String>, | |
UsersCount: <Number> | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
InquirerId: <Number>, | |
QuestionIds: [<Number>, <Number>, ... ] | |
}, | |
... | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lambda_method(Closure , IEnumerable`1 , IEnumerable`1 , ResolutionContext )\r\n | |
AutoMapper.Mapper.AutoMapper.IMapper.Map[TSource,TDestination](TSource source)\r\n | |
AutoMapper.Mapper.Map[TSource,TDestination](TSource source)\r\n | |
OnlySystem.Utils.MapperHelper.Map[TSrc,TDst](IEnumerable`1 src) | |
C:\\Users\\Philip\\Source\\Workspaces\\OnlySystem\\only-system\\OnlySystem\\Utils\\MapperHelper.cs:строка 17\r\n | |
OnlySystem.Controllers.SurveyController.GetAnalysisData(IEnumerable`1 groups, IDictionary`2 mainFilters, IDictionary`2 secondaryFilters, IDictionary`2 inquirersDictionary) | |
C:\\Users\\Philip\\Source\\Workspaces\\OnlySystem\\only-system\\OnlySystem\\Controllers\\SurveyController.cs:строка 2780\r\n | |
OnlySystem.Controllers.SurveyController.GetData(AnalysisSimpleFilterJsonModel[] filters, DateRange[] dates, AnalysisInquirerFilterJsonModel[] inquirers) | |
C:\\Users\\Philip\\Source\\Workspaces\\OnlySystem\\only-system\\OnlySystem\\Controllers\\SurveyController.cs:строка 2765\r\n | |
lambda_method(Closure , |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public List<SectionGraphItemModel> GetInquirerProgress(int inquirerId) | |
{ | |
var inquirer = _context.Inquirer.AsNoTracking().First(x => x.InquirerId == inquirerId); | |
var sections = inquirer.InquirerSection.OrderBy(x => x.Ordering).ToList(); | |
var questions = sections.SelectMany(x => x.Question).ToList(); | |
var answers = questions.SelectMany(x => x.Answer).ToList(); | |
var userAnswers = answers.SelectMany(x => x.UserAnswerXRef).ToList(); | |
List<SectionGraphItemModel> sectionGraphItems = sections.Select(sect => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
userId: <Number>, | |
email: <string>, | |
name: <string>, | |
text: <string> | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
promoters: <Number>, | |
neutrals: <Number>, | |
destructors: <Number>, | |
comments: [ | |
{ | |
userId: <Number>, | |
email: <string>, | |
name: <string>, | |
text: <string>, |
NewerOlder